package com.sakura.mall.member.memberLoginLog.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.member.memberLoginLog.domain.entity.MemberLoginLogEntity;
import com.sakura.mall.member.memberLoginLog.domain.request.AddMemberLoginLogRequest;
import com.sakura.mall.member.memberLoginLog.domain.request.UpdateMemberLoginLogRequest;
import com.sakura.mall.member.memberLoginLog.domain.request.MemberLoginLogPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.member.memberLoginLog.domain.vo.MemberLoginLogVo;

/**
 * 会员登录记录 service
 *
 * @author sakura
 */
public interface MemberLoginLogService extends IService<MemberLoginLogEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<MemberLoginLogVo> queryPage(MemberLoginLogPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddMemberLoginLogRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateMemberLoginLogRequest request);
}
